package com.jxc.biz.impl;

import java.util.List;

import com.jxc.biz.EnterpriseBiz;
import com.jxc.dao.EnterpriseDao;
import com.jxc.entity.Enterprise;
import com.jxc.util.PageBean;

public class EnterpriseBizImpl implements EnterpriseBiz{

	private EnterpriseDao dao;
	public EnterpriseDao getDao() {
		return dao;
	}

	public void setDao(EnterpriseDao dao) {
		this.dao = dao;
	}

	public void deleteenterprise(Enterprise enterprise) {
		
		dao.deleteenterprise(enterprise);
	}

	public Enterprise getenterprise(Enterprise enterprise) {
		return dao.getenterprise(enterprise);
	}

	public void getenterpriselist(String hql, PageBean bean) {
		dao.getenterpriselist(hql, bean);
		
	}

	public void insertenterprise(Enterprise enterprise) {
		dao.insertenterprise(enterprise);
		
	}

	public void updateenterprise(Enterprise enterprise) {
		dao.updateenterprise(enterprise);
		
	}

	public List getenterpriselist(String hql) {
		// TODO Auto-generated method stub
		return dao.getenterpriselist(hql);
	}

}
